<template>
	<view>
		<view class="paper-left-popup-mask" v-show="show" @tap='hide'></view>
		<view class="paper-left-popup" v-show="show">
			<view class="u-f" hover-class="paper-left-popup-h" @tap="lahei"><view class="icon iconfont icon-sousuo" ></view><view>拉黑</view></view>
			<view  class="u-f" hover-class="paper-left-popup-h"  @tap="beizhu"><view class="icon iconfont icon-qingchu"></view><view>备注</view></view>
		</view>
	</view>
</template>

<script>
	export default {
		props:['show'],
		data() {
			return {
				
			}
		},
		methods: {
			beizhu(){
				this.$emit('beizhu')
			},
			lahei(){
				this.$emit('lahei')
			},
			hide(){
				this.$emit('hiddenpopup')
			},
			
		}
	}
</script>

<style>
	.paper-left-popup {
		position:fixed;
		right: 0;
		top:120upx;
		width:50%;
		background: #FFFFFF;
		box-shadow: 1upx 1upx 10upx 2upx rgba(0,0,0,.2);
		z-index: 2000;
	}
	.paper-left-popup> view {
		padding: 10upx 20upx;
		font-size: 35upx;
		align-items:center; 
	}
	.paper-left-popup> view > view {
		font-weight: 700;
		margin-right:10upx;
	}
	.paper-left-popup .paper-left-popup-h {
		background:#eee; 
	}
	.paper-left-popup-mask {
		position:fixed;
		top:0;
		right:0;
		left:0;
		bottom:0;
		z-index: 1999;
		background-color: rgba(0,0,0,.2);
	}
</style>
